package com.aizhixin.lab.task.repository;

import com.aizhixin.lab.task.entity.ReleaseQuestionChoice;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;


public interface ReleaseQuestionChoiceRepository extends JpaRepository<ReleaseQuestionChoice, String> {
	
	List<ReleaseQuestionChoice> findAllByDeleteFlagAndReleaseQuestionIdOrderByOptionAsc(Integer deleteFlag,String releaseQuestionId);
	
	List<ReleaseQuestionChoice> findAllByDeleteFlagAndReleaseQuestionIdIn(Integer deleteFlag,List<String> releaseQuestionId);
}
